package com.atguigu.gulimall.gulimallproduct.feign;

import com.atguigu.common.utils.R;
import com.atguigu.common.vo.SkuHasStockVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author Lenovo
 */
@FeignClient("gulimall-ware")
public interface WareFeignService {

	@PostMapping("/gulimallware/waresku/hasStock")
	public List<SkuHasStockVo>  getSkusHasStock(@RequestBody List<Long> skuIds) ;
}
